package site.marqstree.latte.ui.recycler;

import com.google.auto.value.AutoValue;

/*
 * 项目名: EleCommerce
 * 包名: site.marqstree.latte.ui.recycler
 * 文件名: RgbValue
 * 创建者: marqstree
 * 创建时间: 2020/1/27 14:00
 * 描述: TODO
 */
public class RgbValue{

    private int red;

    private int green;

    private int blue;

    private RgbValue(int red, int green, int blue) {
        this.red = red;
        this.green = green;
        this.blue = blue;
    }

    public static RgbValue create(int red, int green, int blue) {
        return new RgbValue(red, green, blue);
    }

    public int getRed() {
        return red;
    }

    public void setRed(int red) {
        this.red = red;
    }

    public int getGreen() {
        return green;
    }

    public void setGreen(int green) {
        this.green = green;
    }

    public int getBlue() {
        return blue;
    }

    public void setBlue(int blue) {
        this.blue = blue;
    }
}

